package io.lkt.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.BArticleInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


@Mapper
public interface BMaterialInfoDao extends BaseMapper<BArticleInfoEntity> {

    List<BArticleInfoEntity> queryList(Map<String, Object> map);

    Integer queryTotal(Map<String, Object> map);

    void insertMaterialImg(@Param("id") Integer id, @Param("materialImgUrls") String materialImgUrls);

    String selectMaterialImgUrl(Integer id);

    Integer updateMaterialImg(@Param("id") Integer id, @Param("materialImgUrls") String materialImgUrls);
}